﻿<UserControl x:Class="iStudio.Control.Audio.PlaybackControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="100" d:DesignWidth="400">
    <Grid HorizontalAlignment="Center">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>

        <Button Grid.Column="0" Content="9" Name="button_stop" Width="35" Height="35" Style="{StaticResource GrayButton}" FontFamily="Webdings" FontSize="16" Margin="0,0,50,0" Click="ButtonStopClick" />
        <Button Grid.Column="1" Content="7" Name="button_back" Width="35" Height="35" Style="{StaticResource GrayButton}" FontFamily="Webdings" FontSize="16" PreviewMouseDown="ButtonBackMouseDown" PreviewMouseUp="ButtonBackMouseUp" />
        <Button Grid.Column="2" Content="4" Name="button_play" Width="40" Height="40" Style="{StaticResource GrayButton}" FontFamily="Webdings" FontSize="28" Foreground="{StaticResource WaveformRightLevelBrush}" Click="ButtonPlayClick" />
        <Button Grid.Column="3" Content="n" Name="button_rec" Width="40" Height="40" Style="{StaticResource GrayButton}" FontFamily="Webdings" FontSize="10" Foreground="#FFCC0000" Click="ButtonRecClick" />
        <!--<Button Grid.Column="2" Content=";" Name="button_pause" Width="40" Height="40" Style="{StaticResource GrayButton}" FontFamily="Webdings" FontSize="28" Foreground="{StaticResource WaveformRightLevelBrush}" Click="ButtonPauseClick" />
                    <Button Content="g" Name="button_stop" Width="50" Height="50" Style="{StaticResource GrayButton}" FontFamily="Webdings" />-->

        <Button Grid.Column="4" Content="8" Name="button_forward" Width="35" Height="35" Style="{StaticResource GrayButton}" FontFamily="Webdings" FontSize="16" PreviewMouseDown="ButtonForwardMouseDown" PreviewMouseUp="ButtonForwardMouseUp" />
        <Button Grid.Column="5" Content="q" Name="button_repeat" Width="35" Height="35" Style="{StaticResource GrayButton}" FontFamily="Webdings" FontSize="15" Margin="50,0,0,0" Click="ButtonRepeatClick" />
    </Grid>
</UserControl>
